<?php
class ShopProduct {
	public $title				     = "default product";
	public $producerMainName	= "main name";
	public $producerFirstName  = "first name";
	public $price				     = 0;
	function __construct( $title, $firstName, $mainName, $price ){
    	$this->title 		      	= $title;
		$this->producerMainName    = $firstName;
		$this->producerFirstName   = $mainName;
		$this->price 			        = $price;
    }
	
    function getProducer() {
		return "{$this->producerFirstName}".
			     " {$this->producerMainName}";		
	}
}
?>
